<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Planlog_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-planlog_id" data-rule="required" data-source="planlog/index" class="form-control selectpage" name="row[planlog_id]" type="text" value="{$row.planlog_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Man_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-man_id" data-rule="required" data-source="man/index" class="form-control selectpage" name="row[man_id]" type="text" value="{$row.man_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Procedure_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure_id" data-rule="required" data-source="procedure/index" class="form-control selectpage" name="row[procedure_id]" type="text" value="{$row.procedure_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Procedure_startdate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure_startdate" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[procedure_startdate]" type="text" value="{$row.procedure_startdate}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Procedure_finishdate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure_finishdate" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[procedure_finishdate]" type="text" value="{$row.procedure_finishdate}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Workhour1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-workhour1" class="form-control" name="row[workhour1]" type="text" value="{$row.workhour1}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Workhour2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-workhour2" class="form-control" name="row[workhour2]" type="text" value="{$row.workhour2}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Workhour3')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-workhour3" class="form-control" name="row[workhour3]" type="text" value="{$row.workhour3}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Procedure_manhours')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure_manhours" data-rule="required" class="form-control" step="0.01" name="row[procedure_manhours]" type="number" value="{$row.procedure_manhours}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Index')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-index" data-rule="required" class="form-control" name="row[index]" type="number" value="{$row.index}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('State')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="stateList" item="vo"}
            <label for="row[state]-{$key}"><input id="row[state]-{$key}" name="row[state]" type="radio" value="{$key}" {in name="key" value="$row.state"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{$row.create_time|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-update_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[update_time]" type="text" value="{$row.update_time|datetime}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
